package com.cai.oamanager.service;

import com.cai.oamanager.entity.Depart;
import com.cai.oamanager.entity.Domain;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 18 : 08
 * @package：com.cai.oamanager.service
 */
public interface DepartService {
    List<Depart> getAllDepart(Integer start,Integer size);
    Depart getDepart(Integer id);
    void deleteDepart(Integer id);
    void updateDepart(Depart depart);
    Integer getCountDepart();
    List<Domain>  getAllDomain();

}
